package com.wuyb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wyb
 * @Date: 2023/12/31/20:08
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_meeting_chat_xq")
@ApiModel(value = "MeetingChat对象",description = "")
public class MeetingChat implements Serializable {

    @Serial
    private static final long serialVersionUID = -6172051350390112991L;

    @TableId(value = "id_xq",type = IdType.AUTO)
    private Integer id;

    @TableField("meeting_id_xq")
    @ApiModelProperty("会议ID")
    private String meetingId;

    @TableField("user_id_xq")
    @ApiModelProperty("用户ID")
    private Integer userId;

    @TableField("msg_xq")
    @ApiModelProperty("聊天消息内容")
    private String msg;

    @TableField("send_time_xq")
    @ApiModelProperty("发送消息的时间")
    private LocalDateTime sendTime;
}
